<?php
/**
 * Created by PhpStorm.
 * User: SCKJ
 * Date: 16/1/7
 * Time: 下午8:39
 */
namespace Utils;


use GatewayWorker\Lib\Gateway;
use Utils\ErrorMsg;

class MyException extends \Exception {

    public function __construct($message = "", $ope = "normal", $type = ERR_TYPE_NOTICE, $code = 0, Exception $previous = null)
    {
        ErrorMsg::sendErr($message,$ope,$type);
        parent::__construct($message, $code, $previous);
    }
}
